import { createRouter, createWebHistory } from 'vue-router';
const routes = [
    {
        path: '/',
        redirect: '/index',
    },
    {
        path: '/index',
        name: 'Index',
        component: () => import('@/views/Index.vue'),
    }

];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
